}
#endif
+/*
+ * Arg tables are doubled up so that -? can output appropriate help
+ */
static
-arglist_t mag_args[] = {
+arglist_t mag_sargs[] = {
{"baud", &bs, "Numeric value of bitrate (baud=4800)", ARGTYPE_INT },
{"noack", &noack, "Suppress use of handshaking in name of speed",
ARGTYPE_BOOL},
{0, 0, 0, 0}
};
+static
+arglist_t mag_fargs[] = {
+ {"deficon", &deficon, "Default icon name", ARGTYPE_STRING },
+ {0, 0, 0, 0}
+};
+
static void
mag_rd_init(const char *portname)
{
mag_deinit,
mag_read,
mag_write,
- mag_args
+ mag_sargs
};
ff_vecs_t mag_fvecs = {
mag_deinit,
mag_read,
mag_write,
- mag_args
+ mag_fargs
};